<!DOCTYPE html>

<html>

<?php $this->load->view("admin/head.php");?>

	<body>

		<!-- Container -->

		<div id="container">
        	<?php $this->load->view("admin/header.php");?>

        	<!-- Background wrapper -->

			<div id="bgwrap">

            	<!-- Main Content -->

				<div id="content">
					<div id="main">
                    
                    <?php $this->load->view("admin/welcome.php");?>
                    
                    <?=@$iconMenu;?>
                    
                    <hr />
                    <?php 
                        if(isset($mainContent)) $this->load->view("admin/".@$mainContent);
                        if(isset($main_content)) echo $main_content;
                    ?>
                	
					</div>
                </div>

				<!-- End of Main Content -->

                <!-- Sidebar -->

                <div id="sidebar">

                    <?php $this->load->view("admin/accordion.php");?>

                    <?php $this->load->view("admin/dataPicker.php"); ?>

                    <?php $this->load->view("admin/sortableDialogs.php");?>

                    <?php $this->load->view("admin/listNavigation.php");?>

                    <?php $this->load->view("admin/statistics.php");?>

                </div>

                <!-- End of Sidebar -->

        	</div>

			<!-- End of bgwrap -->

        </div>

		<!-- End of Container -->  

        <?php $this->load->view("admin/footer.php");?>  

	</body>

</html>